#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2021/8/17 17:36
# @Author  : 李中华
# @Email   : 1260429766@qq.com
# @File    : report.py
from common.getCookies import MyDriver
from selenium.webdriver.common.action_chains import ActionChains
import time

driver = MyDriver().login()
seeReport = driver.find_element_by_xpath('//*[@id="app"]/div/section/header/div[2]/div[1]/ul/div[2]/li/div/span')
ActionChains(driver).move_to_element(seeReport).perform()
time.sleep(1)
see = driver.find_element_by_xpath('/html/body/div[3]/ul/div[1]/a/li/span').click()
time.sleep(2)
see1 = driver.find_element_by_xpath('/html/body/div[3]/ul/div[2]/a/li/span').click()
